/*
 * @Description:
 * @Author: gaoyunpeng
 * @Date: 2022-01-24 09:42:45
 * @LastEditors: gaoyunpeng
 */
import defaultSettings from '@/settings'

const title = defaultSettings.title || 'Vue js Template'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
